package com.cr.sync.service.impl;

import com.cr.sync.domain.TbSyncProductionProfuctInput;
import com.cr.sync.mapper.TbSyncProductionProfuctInputMapper;
import com.cr.sync.service.ITbSyncProductionProfuctInputService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 远程数据-投入品台账Service业务层处理
 * 
 * @author tang
 * @date 2025-08-29
 */
@Service
public class TbSyncProductionProfuctInputServiceImpl implements ITbSyncProductionProfuctInputService 
{

    @Resource
    private TbSyncProductionProfuctInputMapper tbSyncProductionProfuctInputMapper;

    @Override
    public void insertBatch(List<TbSyncProductionProfuctInput> data) {
        tbSyncProductionProfuctInputMapper.deleteBatch(data);
        tbSyncProductionProfuctInputMapper.insertBatch(data);
    }
}
